# $Id: PKGBUILD 70897 2012-05-18 22:12:06Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>

pkgname=hardlink
pkgver=0.2.0
pkgrel=1
pkgdesc='Replace file copies using hardlinks'
arch=('i686' 'x86_64')
url='http://jak-linux.org/projects/hardlink/'
license=('custom: MIT')
depends=('glibc' 'pcre')
source=("http://jak-linux.org/projects/hardlink/hardlink_$pkgver.tar.gz")
md5sums=('4c1621ee7850a1c8b316735a7bced993')

build() {
  cd $pkgname-$pkgver
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  # install icense
  install -Dm 644 debian/copyright "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 ft=sh et:
